package cn.csc.module.distribute.controller.admin.distributor.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * 分销员信息 Excel VO
 *
 * @author liuchuang
 */
@Data
public class DistributorExcelVO {

    @ExcelProperty("主键ID")
    private BigInteger id;

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("手机号")
    private String mobile;

    @ExcelProperty("用户表ID")
    private BigInteger userId;

    @ExcelProperty("证件类型：1 身份证，2 军官证，3 护照")
    private Integer idCardType;

    @ExcelProperty("证件号")
    private String idCardNo;

    @ExcelProperty("推广区域")
    private String distributeArea;

    @ExcelProperty("推广链接")
    private String distributeShortLink;

    /**
     * 推广微信二维码
     */
    @ExcelProperty(value = "推广微信二维码")
    private String distributeWxCode;

    @ExcelProperty("微信二维码")
    private String wxCode;

    @ExcelProperty("状态（0-待审核，1-已通过，2-需补充资料, 3-审核不通过）")
    private Integer status;

    @ExcelProperty("唯一邀请码")
    private String inviteCode;

    @ExcelProperty("审核通过时间")
    private LocalDateTime auditTime;

    @ExcelProperty("累计佣金")
    private BigDecimal commissionTotal;

    @ExcelProperty("已提现佣金")
    private BigDecimal commissionWithdrawn;

    @ExcelProperty("待入账佣金")
    private BigDecimal commissionPending;

    @ExcelProperty("可提现佣金")
    private BigDecimal commissionWithdrawable;

    @ExcelProperty("团队人数")
    private Integer teamNum;

    @ExcelProperty("团队总订单")
    private Integer orderNum;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
